Skip to content

Streamline Copier questions and update template metadata - #70

Open
phinate wants to merge 1 commit into
pr09-qol-filesfrom
pr10-copier-streamline
Open

Streamline Copier questions and update template metadata#70
phinate wants to merge 1 commit into
pr09-qol-filesfrom
pr10-copier-streamline

Conversation

@phinate

@phinate phinate commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Simplify copier.yml to focused set of questions: project_name, project_short_description, python_name, full_name, email, license, min_python_version, include_docs, org, url
  • Remove typing question (ty is always included — no opt-out)
  • Remove coc question (Code of Conduct always included)
  • Make min_python_version a choice (3.11, 3.12, 3.13) instead of free-text
  • Validate python_name as a valid Python identifier
  • Add _tasks for post-generation: git init, uv sync, uv run pre-commit install
  • Update template CI to test new copier variables (matrix on min_python + include_docs)

Test plan

  • copier copy . /tmp/test-project asks exactly the questions listed above
  • All Copier variables are correctly interpolated into generated files
  • Choosing min_python_version: 3.12 results in requires-python = ">=3.12" and correct CI matrix
  • copier update on a previously generated project applies changes cleanly
  • The generated project passes all CI checks end-to-end

🤖 Generated with Claude Code

- Simplify copier.yml to focused set of questions
- Remove typing question (ty is always included)
- Add min_python_version as choice (3.11, 3.12, 3.13)
- Add include_docs boolean for optional MkDocs scaffolding
- Validate python_name as valid Python identifier
- Add _tasks for post-generation: git init, uv sync, pre-commit install
- Update template CI to test new copier variables

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@phinate
phinate force-pushed the pr10-copier-streamline branch from 79bdb7b to 8a31767 Compare March 19, 2026 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant